/**
 * nghilt
 * 2011/09/26
 */
package vn.nnn.shogi.quanco;

import java.awt.Rectangle;
import java.util.ArrayList;

import vn.nnn.shogi.board.Board;

/**
 * 
 */
public interface IQuanCo {
	
	final int QUAN_TRANG = 0;
	final int QUAN_DEN = 1;
	
	public boolean canMove( Board board, Rectangle destination, QuanCo foundedPiece, ArrayList<QuanCo> listQuanCo );
	public void upgrade( Rectangle destination, ArrayList<QuanCo> listQuanCo );
	public boolean canRelease( Board board, Rectangle destination, ArrayList<QuanCo> listQuanCo );
	public void setToaDoNhaTu();
}
